using System.Collections;

namespace RDML_v1_2_REC
{
	internal abstract class EnumeratorBase : IEnumerator
	{
		private IEnumerator inner;

		protected object InnerCurrent
		{
			get
			{
				return inner.Current;
			}
		}

		public abstract object Current { get; }

		public EnumeratorBase(IEnumerator inner)
		{
			this.inner = inner;
		}

		public bool MoveNext()
		{
			return inner.MoveNext();
		}

		public void Reset()
		{
			inner.Reset();
		}
	}
}
